Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

GravityForms File Upload error 500 #676

Open
@koraysels

Description

@koraysels

REPRODUCE:

When generating a form with gravityforms, add a file upload field and allow file formats like png and jpg
image

BUG:

when you submit a form with a valid filetype that is the correct filesize, the form submission still fails with the following error:

VM24608:1 POST http://localhost:3000/api/wordpress/gravityForms 500 (Internal Server Error)

When we check out the network response the error message says: This file type is not permitted for security reasons

EDIT:

So the error occurs when next.js tries to execute the query in insertGfFormEntry.js L45

Metadata

Metadata

Assignees

Labels

backendThis issue pertains to the WP backend (`/plugins` or `/theme`)bugSomething isn't workingfrontendThis issue pertains to the Next.js frontend (`/packages`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions