Error: SyntaxError: Unexpected number in JSON at position 1
See original GitHub issueI have tried this numerous ways. I have recreated my SP. I cut and paste the values in to az login to verify. I have altered my yaml to make sure I am inputting the values correctly. But the best I can get is this “Error: SyntaxError: Unexpected number in JSON at position 1”
Here is what I have.
jobs:
test:
runs-on: ubuntu-latest
container:
image: <redacted>
credentials:
username: ${{secrets.ACR_USERNAME}}
password: ${{secrets.ACR_PASSWORD}}
steps:
- name: Login via Az module
uses: azure/login@v1
with:
creds: ${{secrets.AZURE_CREDENTIALS}}
enable-AzPSSession: true
Example creds.
{
"clientId": "<redacted>",
"clientSecret": "<redacted>",
"subscriptionId": "<redacted>",
"tenantId": "<redacted>"
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
JSON syntax error: 'unexpected number' or 'JSON.parse ...
1. I get a validation error about the value 0000000206 with the first JSON validator found on Google. – JJJ · this can...
Read more >Fix 'Unexpected token o in json at position 1' - STechies
JavaScript programmers have encountered the “unexpected token o in json at position 1” at some point in their lives. This error is raised...
Read more >Uncaught SyntaxError: Unexpected number in JSON at ...
Given I want to select multiple gets in a batch operation ( and I have PR #24 ) I receive the error Uncaught...
Read more >SyntaxError: Unexpected number in JSON at position 1
The error described above as SyntaxError. Invalid Character in Internet Explorer changes to SyntaxError: Unexpected number in JSON at position ...
Read more >jQuery : JSON syntax error: 'unexpected number' or ... - YouTube
jQuery : JSON syntax error : ' unexpected number ' or ' JSON.parse: expected ',' or '}' after property.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Issue-Label Bot is automatically applying the label
bug
to this issue, with a confidence of 0.67. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
Closing the issue, not enough info to debug.