web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Authenticate_1 failed:...
Power Automate
Unanswered

Authenticate_1 failed: Invalid JSON content. Unexpected character 'e' at position 0

(1) ShareShare
ReportReport
Posted on by 4
Hey Everyone, I was hoping you might be able to help e with this one. I have a custom connector hitting an API thats returning a text JWT. When I test the connector it works but when I run it in the flow I get
Action 'Authenticate_1' failed: Http request failed: the content was not a valid JSON. Error while parsing JSON: 'Unexpected character encountered while parsing value: e. Path '', line 0, position 0.'
I have tried running it as a straight http call and I get the same error
Any help would be much appreciated
Here is the swagger
swagger: '2.0'
info:
title: *****
description: ''
version: '1.0'
host: ******
basePath: /api/v2/auth
schemes:
- https
consumes: []
produces:
- text/plain
paths:
/:
post:
responses:
'200':
description: Successful authentication, returns JWT token
schema:
type: string
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
summary: Authenticate
description: ''
operationId: Authenticate
parameters:
- name: Content-Type
in: header
required: false
type: string
- name: body
in: body
required: false
schema:
type: object
properties:
email:
type: string
description: email
password:
type: string
description: password
definitions: {}
parameters: {}
responses: {}
securityDefinitions: {}
security: []
tags: []
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,452 Super User 2025 Season 2 on at
     
    Need to see the actual response from the flow run (the JSON)
  • PD-09040607-0 Profile Picture
    4 on at
     
    Thanks for the response, In the flow I am getting nothing as an output and have even tried running a compose after the action fails to try to grab any outputs.
     
    The error is BadRequest Http request failed: the content was not a valid JSON. Error while parsing JSON: 'Unexpected character encountered while parsing value: e. Path '', line 0, position 0.'
     
    What I should be getting (and I am getting when I test the custom connector/ run it in postman is just a text response with the JWT  i.e.  eyJhbGciOiJIUzI1*******enE
     
     
    Thanks in advance for your help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard