Forum Discussion
Invalid Auth Header from Web Activity for SalesForce
I am retreiving the token from the web activity immediately preceeding this step and am passing the token from the output of the preceeding web activity.
Hi kxwillis
Can you please share the screen shot of web activity web1 when you executed the pipeline?
As the above error says authentication, I would like to understand whether it is passing actual bearer token or not.
- kxwillis2 years agoRegular Visitor
Below is the output of web activity 1 and the input of webactivity 2
OUTPUT OF WEB ACTIVITY 1{"access_token": "00D5Y000001bchT!AQEAQDaYCiIjOZKYySRwnpsY3CloFGzEiTc0abZNK60LiEtqJWnRAvEHwrX363RTqbqwNz.[rest of token]","signature": "[signature]","instance_url": "https://contessahealth1.my.salesforce.com","id": "https://login.salesforce.com/id/[idvalue]","token_type": "Bearer","issued_at": "1716566138903","ResponseHeaders": {"Date": "Fri, 24 May 2024 15:55:38 GMT","Set-Cookie": "CookieConsentPolicy=0:1; path=/; expires=Sat, 24-May-2025 15:55:38 GMT; Max-Age=31536000; secure;LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Sat, 24-May-2025 15:55:38 GMT; Max-Age=31536000; secure;BrowserId=ENrFgBnmEe-_7qNw1875lg; domain=.salesforce.com; path=/; expires=Sat, 24-May-2025 15:55:38 GMT; Max-Age=31536000","Strict-Transport-Security": "max-age=63072000; includeSubDomains","X-Content-Type-Options": "nosniff","X-Robots-Tag": "none","Cache-Control": "no-store, must-revalidate, no-cache, max-age=0, private","Vary": "Accept-Encoding","Transfer-Encoding": "chunked","Expires": "Thu, 01 Jan 1970 00:00:00 GMT","Content-Type": "application/json; charset=UTF-8"},"executionDuration": 0}INPUT OF WEB ACTIVITY 2{"method": "POST","headers": {"Authorization": "Bearer 00D5Y000001bchT!AQEAQDaYCiIjOZKYySRwnpsY3CloFGzEiTc0abZNK60LiEtqJWnRAvEHwrX363RTqbqwNz.[rest of token]","Content-Type": "application/json","Accept": "application/json"},"relativeUrl": "/services/data/v51.0/jobs/query","body": {"operation": "query","query": "SELECT Id FROM Account WHERE RecordType.Name <> 'Provider Account'"}}Screenshot of pipeline execution below - Anonymous2 years agoNot applicable
Hi kxwillis ,
Based on the images, it looks like there is no issue with the configuration.
Might be the issue is with the token as the error says INVALID_AUTH_HEADER.The best course of action is to open a support ticket and have our support team take a closer look at it.
Please reach out to our support team so they can do a more thorough investigation on why this it is happening: Link
After creating a Support ticket please provide the ticket number as it would help us to track for more information.
Hope this helps. Please let us know if you have any other queries.
- Anonymous2 years agoNot applicable
Hi kxwillis ,
We haven’t heard from you on the last response and was just checking back to see if got a chance to open a support ticket.
After creating a Support ticket please provide the ticket number as it would help us to track for more information.
Thanks - kxwillis2 years agoRegular Visitor
Thanks for the followup. The support ticket number is 2405290040004729