Skip to content

Fixes Bitrise API - Missing Payload#66

Merged
Azbagheri merged 1 commit into
Tumiya:developfrom
D3icidal:feature/fix-newly-needed-Content-Type
Apr 4, 2026
Merged

Fixes Bitrise API - Missing Payload#66
Azbagheri merged 1 commit into
Tumiya:developfrom
D3icidal:feature/fix-newly-needed-Content-Type

Conversation

@D3icidal
Copy link
Copy Markdown

@D3icidal D3icidal commented Apr 1, 2026

Adds --header 'Content-Type: application/json' to the 'trigger_build()' function that seems to now be required by Bitrise
Otherwise receiving a error of: ERROR: null%

Where the json response is hidden behind -d and shows: {"error_msg":"Invalid request: does not contain a 'payload', or it is not a valid JSON request"}

Fixes #65

…)' function that seems to now be required by bitrise
@D3icidal
Copy link
Copy Markdown
Author

D3icidal commented Apr 2, 2026

I heard back from Bitrise, this was a unintentional change and they will undo it. But "it would be best to leave it there as it's best to be explicit about the headers anyway but no longer required"

So this can be closed out if needed

@Azbagheri
Copy link
Copy Markdown
Collaborator

@D3icidal thank you for all the context about the change! I agree, this is a safe addition to the API call.

@Azbagheri Azbagheri closed this Apr 4, 2026
@Azbagheri Azbagheri reopened this Apr 4, 2026
@Azbagheri Azbagheri merged commit d35adb1 into Tumiya:develop Apr 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed Bitrise API - Missing Payload

2 participants