Message Boards Message Boards

2 Replies
0 Total Likes
View groups...
Share this post:

Get more info from SecuredAuthenticationKey failure?

Posted 11 months ago

I'm attempting to interact with a Google API that Wolfram Language doesn't yet have a service for. I think I've configured the SecuredAuthenticationKey correctly, but when I try to use it, like this:

 HTTPRequest["", <|Method -> "POST"|>],
 Authentication → mySecuredAuthenticationKey

It just fails with "SecuredAuthenticationKey::atok: Couldn't retrieve access tokens from"

Can I access more information about the failure? I would guess that the server's response tells me what's wrong with my request, but I can't see it.

(I tried NetworkPacketTrace, but it was far too granular for me to track the server's response.)

POSTED BY: Tom Lieber
2 Replies
Posted 10 months ago

Yeah, that’s what solved it for me.

POSTED BY: Tom Lieber
Posted 11 months ago

It's not an answer to this question, but I did get past the error by switching from TwoLegged to ThreeLegged authentication. I still would like to be able to debug this, though.

POSTED BY: Tom Lieber
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract