• Alta Montclair
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
I am working on Salesforce Quickbooks Online integration and got a problem with User Authorization Step (//appcenter.intuit.com/Connect/Begin).
I got request token and successfully redirected to Intuit Authorization page (//appcenter.intuit.com/Connect/Authorize?oauth_token=qyprdH6teuEEhB6qF4M0ZjUWwjp5W2RHqKcVLObX9ddicmAj&realmId=193514473407059).
But when I click "Authorize" button, I am getting "500 – Internal server error" (//appcenter.intuit.com/Connect/Authorize).
It seems like it is a problem with callbackURL. I tried to change it to public and very simple one without any success. Every time I am getting the same error.
Appreciate any help!
Here is my debug log:
Get Token Request Step:
08:22:43.0 (25244362)|CALLOUT_REQUEST|[81]|System.HttpRequest[Endpoint=https://oauth.intuit.com/oauth/v1/get_request_token?oauth_callback=ListofPlanSponsors&oauth_consumer_key=qyprdFEWD4HM1x7AxqgJvJreXCfHsr&oauth_nonce=-3599673740950647704&oauth_signature=aVB9ABxsvPL3jPwHoYooMndTry0=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1484842963&oauth_version=1.0, Method=GET] 08:22:43.0 (575621572)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:320 08:22:43.0 (575782268)|CALLOUT_RESPONSE|[81]|System.HttpResponse[Status=OK, StatusCode=200]
Response from request token request: 08:22:43.0 (807468465)|USER_DEBUG|[111]|DEBUG|Success in getting a request token! HTTP Code = 200. Message: OK. Response Body: oauth_token_secret=nyQ6F91oz3Lqs9ZCUUxmDmbbc6TlpPo3OGnDMhZa&oauth_token=qyprdPC4H0eOy6cB6it6TtgE4nN0lczyDQf9u8siAo91ygnZ&oauth_callback_confirmed=true
User Authorization Step:
08:22:43.0 (807671128)|USER_DEBUG|[21]|DEBUG|https://appcenter.intuit.com/Connect/Begin?oauth_token=qyprdPC4H0eOy6cB6it6TtgE4nN0lczyDQf9u8siAo91ygnZ&oauth_consumer_key=qyprdFEWD4HM1x7AxqgJvJreXCfHsr
After I click Authorize button, I am getting the 500 – Internal server error
Hello,

I have a scheduled class SendBirthdayCards_BatchJob that is setup within the Setup->Monitoring->Scheduled Jobs. It is set to run everyday at 9PM. It shows started and next scheduled run. When I just set it up, it ran emmideatelly. However it does not run on the next day, started and next scheduled dates are changed, but job was not run. I cannot see any records at all in APEX jobs list.

Can you help me to resolve the issue?
Thanks in advance.
Hello,

I have a scheduled class SendBirthdayCards_BatchJob that is setup within the Setup->Monitoring->Scheduled Jobs. It is set to run everyday at 9PM. It shows started and next scheduled run. When I just set it up, it ran emmideatelly. However it does not run on the next day, started and next scheduled dates are changed, but job was not run. I cannot see any records at all in APEX jobs list.

Can you help me to resolve the issue?
Thanks in advance.