-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get application_commands for command settings #255
Comments
yes, me too... |
same here. was working fine a moment ago. |
It doesn't smell very good... I don't want to panic, but considering that the project hasn't been updated in a while, if there have been any changes on discord's or midjourney's end, it might never be updated... Have you found any alternative solutions? |
same issue here |
Me too... |
Seems discord has deprecated this API due to some security reasons? |
Same |
same |
I've opened a pull request with a provisional workaround. Meanwhile, @freezer71 has created interim npm package freezer-midjourney-api |
hi. Can you clarify how to fix it? I have tried installing the package, but the problem still hasn't been resolved. |
You should be using import { Midjourney } from 'freezer-midjourney-api'; instead of import { Midjourney } from 'midjourney'; For this particular problem to go away. Remember to check the original package for a permanent fix! |
The discord api v9 seems give null response for "application_commands" now. { |
Thank you guys, this saves me. |
A function has not been fixed...
|
Everything seems to be running, but I often encounter the error: ImagineApi failed with status 400. Do you have any experience with this error? |
Thank you @freezer71 ! 🚀 |
Does
|
try this fix. it's working for me - https://github.com/erictik/midjourney-api/pull/256/files |
if someone still facing issues with upscale, variations etc can use this package for now https://www.npmjs.com/package/@ymjir/midjourney-api use
instead of
|
@NatalieM11 could you maybe update https://github.com/erictik/midjourney-ui with this, please? at least on feature branch the library updates breaks stuff there or anyone if you fix it in midjourney-ui please 🙏 |
[fix] Failed to get application_commands for command settings issue #255
@NatalieM11 this pr was merged, and i updated to the latest 4.3.14, but it still dosen't work. |
@jimmy-o thanks for pointing out this issue, i can see that upscale on initial image is working, but when i tried to upscale an individual image, it's causing
|
same 😭 |
Same |
should work with that npm freezer-midjourney-api |
doesn't work on init got "unxpected end of json input" i have tried with midjourney lib and also with freezer-midjourney-api |
can i see the code for the problem |
@Pepperoniii |
@freezer71 Thanks, it's work for me. 👍 |
@freezer71 your fork used to work but I am getting the same error with command settings right now |
@freezer71 |
这是来自QQ邮箱的自动回复邮件。
您好,您发送的邮件已收到,我查看后会尽快给您回复。
|
:) any update on the issue? I assume MJ servers based on this simply do not work but I have doubts given the level of activity - someone has it working |
这是来自QQ邮箱的自动回复邮件。
您好,您发送的邮件已收到,我查看后会尽快给您回复。
|
I used this solution and it worked for me please check your SERVER_ID as well as CHANNEL_ID. Maybe that will be wrong. Get both keys from URL and SALAI_TOKEN from the discord network tab follow this SITE |
这是来自QQ邮箱的自动回复邮件。
您好,您发送的邮件已收到,我查看后会尽快给您回复。
|
the code that reproduces this issue or a replay of the bug
Failed to get application_commands for command settings
Describe the bug
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
error log
Failed to get application_commands for command settings / RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
I haven't changed anything in my code, I generated a new SALAI TOKEN and updated in my environment variables. Everything was working at 2:30 PM and it stopped working at 11:00 PM without any code updates. I just want to know if other people are having the same issue? Thank you in advance!
The text was updated successfully, but these errors were encountered: