mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 13:19:07 -05:00
[GH-ISSUE #2325] Too Big Error Updating Logo Url #4080
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jiriteach on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2325
Originally assigned to: @miloschwartz on GitHub.
Describe the Bug
Thanks for fixing the previous bug setting a url for the logo.
The previous url I was using worked. This url structure does not.
Change it and its throwing an error using a url structure like this -
URL - https://subdomain.domainname.com/images/Microsoft1.png - example. This is an active url - changed the values since I didnt want to post my actual url but provides a view of the structure which isn't anything complicated.
Error -
Too big: expected string to have <=0 charactersEnvironment
To Reproduce
Enter logo url in the form of - URL - https://subdomain.domainname.com/images/Microsoft1.png - example. This url wont work since I didnt want to post my actual url.
Expected Behavior
For the logo url to be set.
@jiriteach commented on GitHub (Jan 25, 2026):
@JustMePawel commented on GitHub (Jan 26, 2026):
I do have the same issue..
@oschwartz10612 commented on GitHub (Jan 26, 2026):
We are working on a fix for the next patch. Make sure the url you enter
is a valid URL to a hosted image where the content type is an image.
@jiriteach commented on GitHub (Jan 27, 2026):
Thanks. In my case - its just an image hosted on Cloudlare r2 so s3 storage with publicly enabled access.
@gyoge0 commented on GitHub (Feb 1, 2026):
Relevant snippet
I think the two things going on here are:
Content-Typeheader for your imageI think the misleading error could be fixed by doing
.superRefineand then explicitly setting the fallback order instead of dealing with Zod's default fallback order here:Would also help specify "valid image URL" means it's served back with a
Content-Typeheader.@bobbleheadhobo commented on GitHub (Feb 5, 2026):
I am having the same issue. I have my logo hosted on Imgur, and I get the same error. Although I think something else is going on, like gyoge0 mentioned, because if I paste in the image address of the logo from the pangolin website, it works just fine. Any suggestions on where I should host my logo to get it to work?
@oschwartz10612 commented on GitHub (Feb 25, 2026):
I think this was resolved in 1.15.3. Please reopen if this was not the case.