title: Stripe API; {'error': 'invalid_grant', 'error_description': 'This authorization code has already been used
body: <p>I'm using Stripe API and I'm trying to save the connect account keys in db. But I cannot save them successfully and a weird thing is happening.
  My code is here</p>
  
  <pre><code>resp = stripe_connect_service.get_raw_access_token(method='POST', data=data)
  connect_account_info = json.loads(resp.text)
  connect_public_key = connect_account_info['stripe_publishable_key']
  connect_access_token = connect_account_info['access_token']
  connect_user_id = connect_account_info['stripe_user_id']
  connect_refresh_token = connect_account_info['refresh_token']
  
  print(connect_public_key)
  print(connect_access_token)
  print(connect_user_id)
  print(connect_refresh_token)
  
  form = Form()
  if form.validate_on_submit():
      data = Data(connect_public_key=connect_public_key, connect_access_token=connect_access_token, connect_user_id=connect_user_id, connect_refresh_token=connect_refresh_token)
      db.session.add(data)
      db.session.commit()
  </code></pre>
  
  <p>So after getting the token and finished submitting the form on the page rediercted from Stripe Connect page, I will save the data. print actually shows the connect account keys, but after submitting the form, the error says
  connect_public_key = connect_account_info['stripe_publishable_key']
  KeyError: 'stripe_publishable_key'
  even though print does work.</p>
  
  <p>And when I run debugger, the error says like this
  <code>{'error': 'invalid_grant', 'error_description': 'This authorization code has already been used.</code></p>
  
  <p>How can I fix this error?</p>