-
Notifications
You must be signed in to change notification settings - Fork 257
Closed
Labels
JSChange/fix applies to JS. If all three, use the 'JS & dotnet & Python' labelChange/fix applies to JS. If all three, use the 'JS & dotnet & Python' labelP0bugSomething isn't workingSomething isn't workingjavascriptPull requests that update Javascript codePull requests that update Javascript code
Description
Language
Javascript/Typescript
Version
latest
Description
A 401 AxiosError is being thrown in downloadFile function, when attempting the GET request on attachment.contentUrl. A token is being generated, and the current logic is the same prior to merging #1207, hence my suspicion is that the access token is not in the correct format. If this is the case, the bug is probably nested in getAccessToken method
NOTE: This is with the updated code in #1403
Reproduction Steps
1. Spin up the Cardgazer bot
2. Send the bot a message to construct an adaptive card, with a photo of a form.
3. The code should throw a 401 AxiosError.
...corinagum
Metadata
Metadata
Assignees
Labels
JSChange/fix applies to JS. If all three, use the 'JS & dotnet & Python' labelChange/fix applies to JS. If all three, use the 'JS & dotnet & Python' labelP0bugSomething isn't workingSomething isn't workingjavascriptPull requests that update Javascript codePull requests that update Javascript code