AxiosError: Request failed with status code 400
vladimirteddyTRIAL
10 months ago
I use Nestjs and use HttpService request.
My Dockerfile:
FROM node:hydrogen-alpine
WORKDIR /app/
COPY ["package.json", "package-lock.json*", "./"]
ENV NODE_OPTIONS=--max_old_space_size=2048
RUN npm install --force
COPY . .
RUN npm run build
EXPOSE 3010
CMD ["npm", "run", "start:prod"]
When I have called request to another url have error:
[Nest] 13 - 07/10/2024, 10:44:05 AM ERROR [ExceptionsHandler] Request failed with status code 400
I have tried build image local and it work, but deploy to Railway HttpService not working.
Please help me.
1 Replies
10 months ago
Can you please include more information, for starters, is this a request via the private or public network?