Code Monkey home page Code Monkey logo

Comments (11)

cemratip avatar cemratip commented on August 9, 2024

I've tried the v2 endpoint and that produces the same error.

from hidemyemail-generator.

rtunazzz avatar rtunazzz commented on August 9, 2024

Hmm, it's still working on my end, on the v1 endpoint.. So as of right now, I can't reproduce the issue thus I can't fix. :(


My guess is they're slowly rolling out a new endpoint, with only some regions using it currently. You can try checking which endpoint it will use in your browser on https://www.icloud.com/icloudplus/, and updating it accordingly.

These are the endpoints my browser is using, just in case you'd want to compare:

    var mg = {
        hmeDelete: {
            path: "/v1/hme/delete",
            method: "POST"
        },
        hmeGet: {
            path: "/v2/hme/get",
            method: "POST"
        },
        hmeUpdate: {
            path: "/v1/hme/updateMetaData",
            method: "POST"
        },
        hmeList: {
            path: "/v2/hme/list",
            method: "GET"
        },
        hmeDeactivate: {
            path: "/v1/hme/deactivate",
            method: "POST"
        },
        hmeReactivate: {
            path: "/v1/hme/reactivate",
            method: "POST"
        },
        hmeGenerate: {
            path: "/v1/hme/generate",
            method: "POST"
        },
        hmeReserve: {
            path: "/v1/hme/reserve",
            method: "POST"
        },
        hmeUpdateForwardTo: {
            path: "/v1/hme/updateForwardTo",
            method: "POST"
        }
    };

from hidemyemail-generator.

cemratip avatar cemratip commented on August 9, 2024

Thanks for your reply.

What region are you in? If I use a VPN to connect to the same region as you or make a new iCloud account in that region then might it work?

from hidemyemail-generator.

rtunazzz avatar rtunazzz commented on August 9, 2024

Sure thing. I'm based in EU..

Would be ideal if you could check the paths though, I'm sure others that have the same issue would also appreciate it ;)

from hidemyemail-generator.

ezyyeah avatar ezyyeah commented on August 9, 2024

Same issue.
on v1: "[ERR] - Failed to generate email. Reason: Invalid global session"
Copied the cookies correctly ('Semicolon separated name=value pairs'), and there is no VPN in use.

on v2: "[ERR] - Failed to generate email. Reason: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://p68-maildomainws.icloud.com/v2/hme/generate?clientBuildNumber=2317Project38&clientMasteringNumber=2317B22&clientId=&dsid=')"

Im based in EU.

from hidemyemail-generator.

rtunazzz avatar rtunazzz commented on August 9, 2024

Hi @ezyyeah, do you have an iCloud+ subscription? Haven't seen any other causes of the first error you're getting (Invalid global session) other than either expired cookies or account not having an iCloud+.


Regarding v2, the web is still using the old v1 endpoint on my end, so I can't do anything about that unless someone is able to provide the list of endpoints I mentioned in this issue earlier.

from hidemyemail-generator.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.