badges/shields

Bitbucket badge returns Invalid Response Data

Open

#9.096 aberto em 16 de abr. de 2023

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (5.423 forks)batch import
good first issueservice-badge

Métricas do repositório

Stars
 (22.337 stars)
Métricas de merge de PR
 (Mesclagem média 6d 3h) (71 fundiu PRs em 30d)

Description

Are you experiencing an issue with...

shields.io

🐞 Description

This call results in a badge saying Invalid Response Data

https://img.shields.io/bitbucket/pipelines/harisekhon/diagrams-as-code/master?logo=bitbucket&label=BitBucket%20CI

I've compared this to much older well established repos I have which used to work and the same thing has started happening there although I'm not sure when it started but these definitely used to work, for example this one:

https://img.shields.io/bitbucket/pipelines/harisekhon/devops-bash-tools/master?logo=bitbucket&label=BitBucket%20CI

which you can see here hasn't been changed in 3 years:

https://github.com/HariSekhon/DevOps-Bash-tools/blame/master/README.md#L82

🔗 Link to the badge

https://img.shields.io/bitbucket/pipelines/harisekhon/diagrams-as-code/master?logo=bitbucket&label=BitBucket%20CI

💡 Possible Solution

I thought this might be related to capitalization to match the repo name but that hasn't helped, it actually makes it worse in that it then doesn't find the repo

https://github.com/HariSekhon/Diagrams-as-Code

https://img.shields.io/bitbucket/pipelines/HariSekhon/Diagrams-as-Code/master?logo=bitbucket&label=BitBucket%20CI

so it looks like I need to go back to debugging what that Invalid Response Data is for the original badge lowercase format which appears to at least be finding something.

Any ideas how to debug what the actual response data is and why it is breaking?

Guia do colaborador