Skip to content

fix: create and update arke_file#140

Closed
vittorio-reinaudo wants to merge 2 commits into
mainfrom
fix/create-arke-file
Closed

fix: create and update arke_file#140
vittorio-reinaudo wants to merge 2 commits into
mainfrom
fix/create-arke-file

Conversation

@vittorio-reinaudo

Copy link
Copy Markdown
Contributor

Issue

Creating an arke_file directly via the API returns an invalid data format error.

Description

After creation, the binary_data field remains attached to the unit, which is not a valid format for the JSON:API specification.

Solution

Strip the binary_data field from the unit after the upload completes, so the returned payload conforms to the JSON:API format.

@vittorio-reinaudo
vittorio-reinaudo requested a review from a team as a code owner May 13, 2026 11:15
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.

1 participant