3

I try to create an IOS hybrid_remote application from a visualforce page, but when I run it, I receive the following error message:

error=invalid_client_id&error_description=client%20identifier%20invalid

I'm am using a company sandbox account, so if there are any properties that ruin it, or when I create the application with the ForceIos, and when I asked to hand the company's and organization's name, do I suppose to write something very specific that appears in the developer account?

Edit

I enables the OAuth Settings, and I uploded a picture of how I creating the connected app. If i doing something wrong (since its a Sandbox), or I should take more actions elsewhere, then Please let me know. Thanks!!

4

Sandboxes don't run in the same context as production, so you'll need a Connected App identified on a Sandbox org and use those keys for OAuth.

2
  • Hi, I edit my original post with a photo of how I create the connected app. please take a look at it and tell me what is wrong. Thanks!
    – user6801
    Feb 12 '14 at 9:45
  • So for a sandbox - 1) the Connected App needs to be defined on a Sandbox org and 2) the login for the app needs to be point to test / sandbox
    – joshbirk
    Feb 13 '14 at 3:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.