Skip to content

"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (1000 MB) that this server supports" When selecting schema for new server #1350

@thursdaybw

Description

@thursdaybw

I have a fresh install of Drupal 10.1.2 using the standard profile in a lando environment, and I have installed the Graphql module via composer.

I have followed the first 3 steps on the handbook and been stuck on step 3 "You can use the "Example schema" that comes with the graphql_examples module (comes with the graphql module but needs to be enabled separately) to try out using GraphQL for the first time before making your own schema. " however when I change the selection in the select box I get the following error An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (100 MB) that this server supports. I modified my php.ini in an attempt to resolve the upload issue, but it just did this: An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (1000 MB) that this server supports. .

Why is this select box even triggering a file upload? I have watched the network tab in developer tools and reloaded the page but there are no network calls listed there, but I can see the failed POST request in the console.

This is what I am seeing in my browser:
image

image

I changed the values of post_max_size and upload_max_filesize from 100M to 1000M

php -i |grep -E "upload_max_filesize|post_max_size"       
post_max_size => 1000M => 1000M
upload_max_filesize => 1000M => 1000M

I'm stumped. but as this is a fresh install of drupal and graphql is the only contrib module installed it seems qutie strange.

Are there base requirements for these PHP settings?:

upload_max_filesize="1000M"
post_max_size="1000M"

This is the part of the graphql book I am attempting to follow, stumpted before I even start it seems :)
image

Can someone suggest a workaround so I can create a server and move on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions