When making an HTTP request from bot framework composer, i get error that says "Access token is empty" and returns InvalidAuthenticationtoken.

Smriti Rai 60 Reputation points
2023-07-17T13:20:58.58+00:00

Hello,

When making an HTTP request from bot framework composer, I get error that says "Access token is empty" and returns InvalidAuthenticationtoken. I would really appreciate if someone can please help me with this.

I have a trigger to add members to a group wherein I am taking the group name as input and then using that group name to make HTTP request, but I get this error.

Regards

Smriti

User's image

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
807 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,446 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 22,355 Reputation points MVP
    2023-07-17T16:38:50.4633333+00:00

    Hi @Smriti Rai

    1. Verify Authentication: Confirm that you are using the correct authentication method required by the service/API you are accessing. Refer to the service's documentation for authentication requirements.
    2. Include Access Token: If an access token is required, ensure you are obtaining it correctly and including it in the Authorization header of your request.
    3. Check Authorization Flow: Follow the specified authorization flow for the service. Examine the documentation to ensure you are adhering to the correct steps.
    4. Test Authentication Outside Composer: Validate authentication separately using tools like Postman or cURL to isolate the issue and verify successful authentication.
    5. Review Error Logs: Check error logs or responses from the service for additional details or instructions.

    https://docs.microsoft.com/en-us/composer/

    If this helps kindly accept the answer, for assistance ping here. Thanks

    0 comments No comments