Depoly Error Message

I’ve not done a deploy for a few months and now all of a sudden it is erroring.

I had some developers create the code for me but they no longer reply to emails and their website isn’t live anymore. What they’ve created for me is great, I’d also like to to add some extra features. They’ve created it using Gitlab/Netlify/Airtable/ImgIX.

One of my configurators that runs using netlify/airtable/imgix.
https://clearcgi.netlify.app/bergen/bathroom/

Configuration error
10:28:14 AM: ────────────────────────────────────────────────────────────────
10:28:14 AM: ​
10:28:14 AM: Error message
10:28:14 AM: Deploy did not succeed: Invalid filename ‘ttf/radiator/images/9d27e13a_870B_View011441.png?ts=1651570004&userId=usr4GJEQpmxx9nEKA&cs=30865d1683645ddc’. Deployed filenames cannot contain # or ? characters
10:28:14 AM: ​
10:28:14 AM: Resolved config
10:28:14 AM: build:
10:28:14 AM: command: node .
10:28:14 AM: commandOrigin: config
10:28:14 AM: environment:
10:28:14 AM: - AIRTABLE_API_KEY
10:28:14 AM: - AIRTABLE_BASE_ID
10:28:14 AM: - IMGIX_DOMAIN
10:28:14 AM: publish: /opt/build/repo/dist
10:28:14 AM: publishOrigin: config
10:28:15 AM: Caching artifacts
10:28:15 AM: Started saving node modules
10:28:15 AM: Finished saving node modules
10:28:15 AM: Started saving build plugins
10:28:15 AM: Finished saving build plugins
10:28:15 AM: Started saving pip cache
10:28:15 AM: Finished saving pip cache
10:28:15 AM: Started saving emacs cask dependencies
10:28:15 AM: Finished saving emacs cask dependencies
10:28:15 AM: Started saving maven dependencies
10:28:15 AM: Finished saving maven dependencies
10:28:15 AM: Started saving boot dependencies
10:28:15 AM: Finished saving boot dependencies
10:28:15 AM: Started saving rust rustup cache
10:28:15 AM: Finished saving rust rustup cache
10:28:15 AM: Started saving go dependencies
10:28:15 AM: Finished saving go dependencies
10:28:15 AM: Cached ruby version 2.7.1
10:28:15 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:28:16 AM: Failing build: Failed to build site
10:28:16 AM: Finished processing build request in 1m58.197537827s

@jamiemurphy What’s your question?

If it is “why is my build failing”, then is seems to be mentioned right at the start:

10:28:14 AM: Error message
10:28:14 AM: Deploy did not succeed: Invalid filename ‘ttf/radiator/images/9d27e13a_870B_View011441.png?ts=1651570004&userId=usr4GJEQpmxx9nEKA&cs=30865d1683645ddc’. Deployed filenames cannot contain # or ? characters

That particular image is reporting as having a filename that contains a ?

Hello Nathan,

Everytime I deploy it shows a different PNG with the problem of including a ‘?’.

Nothing in my airtable has changed since last time I deployed a few months back, which deployed successfully. I’m wondering if something has changed with how Netlify works.

I’m no coder, I’m a CGI artist.

Thanks for your help

Jamie

While you can never entirely rule out “something having changed” at a lower level, issues are much more often caused by changes to your own build, the dependencies being included, or the input data.

Are you able to build locally and check the output being produced?

If the images aren’t always processed in precisely the same order this is something you might expect.

The first thing to check would be if the build really is producing files that contain a ?.

Hello Nathan,

I’ve tried to remove various lines from my airtable to see if I could find a problem but it’s still failing to build.

I know it’s often hard working with someone elses code but do you think you could find the solution to this problem? I’m happy to pay for your time.

What’s the best way to message you privately? Thank you.

@jamiemurphy I’ve PM’d you my email via the forum messaging system.

There shouldn’t be any need to pay, as hopefully it’s nothing too dramatic.