Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] image upload for customized-products example doesn't work #863

Open
1 of 3 tasks
mkucmus opened this issue Apr 10, 2024 · 0 comments
Open
1 of 3 tasks

[BUG] image upload for customized-products example doesn't work #863

mkucmus opened this issue Apr 10, 2024 · 0 comments
Labels
bug Something isn't working examples

Comments

@mkucmus
Copy link
Collaborator

mkucmus commented Apr 10, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

/store-api/customized-products/upload returns

{
    "errors": [
        {
            "code": "0",
            "status": "400",
            "title": "Bad Request",
            "detail": "The JSON payload is malformed."
        }
    ]
}

but there is no json sent, but multipart form data

Expected Behavior

I'm able to send an image

Acceptance criteria

  • an image can be uploaded
  • examples is migrated to nuxt

Steps To Reproduce

run an example and try to upload a file
No response

Environment

- OS:
- Node:
- pnpm:

Anything else?

No response

@mkucmus mkucmus added bug Something isn't working examples labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working examples
Projects
Status: Developer Backlog
Development

No branches or pull requests

1 participant