While there might be a little delay between using the generated tokens from the dev site, it shouldn’t be more than 15 minutes at its worst.
What library are you using? What requests are you trying to make that are failing with this error? Is this the literal error you’re getting from the API or an error that is being caught and presented by your library (and possibly over-broad to the scenario)?