Host is not allowed Code : 400

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Rameez
Posts: 1
Joined: 2019-11-10T23:32:59-07:00
Authentication code: 1152

Host is not allowed Code : 400

Post by Rameez »

Hi Everyone,
I have installed Vue-storefront opensource project on server. everything works fine but imagemagick when i hit the imagemagick img url its given me this error. {"code":400,"result":"Host is not allowed"}.

Server : nginx

User avatar
fmw42
Posts: 26290
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Host is not allowed Code : 400

Post by fmw42 »

This does not appear to me to be an ImageMagick error, but one of from your server. Contact your server host.
The 400 Bad Request error is an HTTP status code that means that the request you sent to the website server, often something simple like a request to load a web page, was somehow incorrect or corrupted and the server couldn't understand it.
See https://airbrake.io/blog/http-errors/400-bad-request

Post Reply