{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-node-SDK/issues/147","repository_url":"https://api.github.com/repos/paypal/PayPal-node-SDK","labels_url":"https://api.github.com/repos/paypal/PayPal-node-SDK/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-node-SDK/issues/147/comments","events_url":"https://api.github.com/repos/paypal/PayPal-node-SDK/issues/147/events","html_url":"https://github.com/paypal/PayPal-node-SDK/issues/147","id":147227078,"number":147,"title":"Web hook validation fails on first try persistently.","user":{"login":"AlexCatch","id":13490042,"avatar_url":"https://avatars.githubusercontent.com/u/13490042?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexCatch","html_url":"https://github.com/AlexCatch","followers_url":"https://api.github.com/users/AlexCatch/followers","following_url":"https://api.github.com/users/AlexCatch/following{/other_user}","gists_url":"https://api.github.com/users/AlexCatch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexCatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexCatch/subscriptions","organizations_url":"https://api.github.com/users/AlexCatch/orgs","repos_url":"https://api.github.com/users/AlexCatch/repos","events_url":"https://api.github.com/users/AlexCatch/events{/privacy}","received_events_url":"https://api.github.com/users/AlexCatch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-node-SDK/labels/api-bug","name":"api-bug","color":"fbca04"},{"url":"https://api.github.com/repos/paypal/PayPal-node-SDK/labels/api-webhooks","name":"api-webhooks","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-10T13:57:27Z","updated_at":"2016-04-11T13:23:32Z","closed_at":null,"body":"When I receive a web hook from Paypal, I pass over the ID of the web hook event to my Paypal manager class which in turn calls `Paypal.notification.webhookEvent.get`.\r\n\r\nThe first time the web hook is received I consistently get the error `'{\"name\":\"INVALID_RESOURCE_ID\",\"details\":[],\"message\":\"Resource id is invalid\"}'`\r\n\r\nBecause an error is thrown, I return a 503 and the web hook gets fired again within a few minutes and it successfully validates and returns the response.\r\n\r\nIs there any reason why it would be throwing this error consistently on every first web hook event?"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-node-SDK/issues/comments/208339644","html_url":"https://github.com/paypal/PayPal-node-SDK/issues/147#issuecomment-208339644","issue_url":"https://api.github.com/repos/paypal/PayPal-node-SDK/issues/147","id":208339644,"user":{"login":"juwlee","id":6720919,"avatar_url":"https://avatars.githubusercontent.com/u/6720919?v=3","gravatar_id":"","url":"https://api.github.com/users/juwlee","html_url":"https://github.com/juwlee","followers_url":"https://api.github.com/users/juwlee/followers","following_url":"https://api.github.com/users/juwlee/following{/other_user}","gists_url":"https://api.github.com/users/juwlee/gists{/gist_id}","starred_url":"https://api.github.com/users/juwlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juwlee/subscriptions","organizations_url":"https://api.github.com/users/juwlee/orgs","repos_url":"https://api.github.com/users/juwlee/repos","events_url":"https://api.github.com/users/juwlee/events{/privacy}","received_events_url":"https://api.github.com/users/juwlee/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T13:23:32Z","updated_at":"2016-04-11T13:23:32Z","body":"@AlexCatch Can you please share `debug_id` for the 503 error and the same value when the call works?"}}