Wildric-Auric / MidJourney-Wrapper

MidJourney wrapper in Discord.
Creative Commons Zero v1.0 Universal
696 stars 149 forks source link

issue with discord api #83

Open aviadr1 opened 1 year ago

aviadr1 commented 1 year ago

looks like https://github.com/Wildric-Auric/MidJourney-Wrapper/issues/26 is happening again request failed: 400 {"code": 50035, "errors": {"data": {"_errors": [{"code": "INTERACTION_APPLICATION_COMMAND_INVALID_VERSION", "message": "This command is outdated, please try again in a few minutes"}]}}

Paskarl commented 1 year ago

The current version number in the project is incorrect. It is set as 1077969938624553050, which is outdated. It should be updated to 1118961510123847772.

Try changing the version number in the Salai.py file image

Pharrcyde commented 1 year ago

The current version number in the project is incorrect. It is set as 1077969938624553050, which is outdated. It should be updated to 1118961510123847772.

Try changing the version number in the Salai.py file image

This resolved the issue for me, thank you. Cheers!

mamanui commented 1 year ago

@Pharrcyde How can we find the newest value of the version ? Thanks for your help.

ruhipilot commented 1 year ago

@aviadr1 I changed the version number but still have the same error, do you have any idea?

Coresmith commented 1 year ago

@Pharrcyde How can we find the newest value of the version ? Thanks for your help.

I would also like to know how the newer value is found.

Pharrcyde commented 1 year ago

@mamanui @Coresmith https://github.com/erictik/midjourney-client/issues/124#issuecomment-1594266374

Additionally, you may want to consider migrating to an alternative project like Midjourney-Discord due to the constraints currently experienced by @Wildric-Auric in maintaining this project (See README).

Coresmith commented 1 year ago

@mamanui @Coresmith erictik/midjourney-api#124 (comment)

Additionally, you may want to consider migrating to an alternative project like Midjourney-Discord due to the constraints currently experienced by @Wildric-Auric in maintaining this project (See README).

Thanks for pointing me towards that. I'd still like to learn how to source the application version. I've got my own java implementation written but it relies on me updating that version number.

Spoolifycode commented 11 months ago

Still functional? I can search new id but error message seems to be the same one.

EyonJoshua91 commented 10 months ago

My way to find this version number is:

  1. Open discord in chrome browser and type F12 to open dev pannel
  2. Interact with Midjourney bot using the command you want
  3. Then go check dev pannel and select tab Network
  4. Search for "interactions" and click on filtered result named also as "interactions"
  5. Once you click on the result, it will display headers information. Then select Payload tab on the right side
  6. You can see all the information you want.

Please notice that there are two places of version information in the PassPromptToSelfBot function, I suppose you need to update both.

Image shows some keypoint from the above instruction. image