Execution Reverted: Not within the sale window
This error occurs when a user tries to interact with a listing on the thirdweb Marketplace V3 contract outside of its designated sale window.
In the Marketplace V3, users can list NFTs for sale at a fixed price via Direct Listing. Each listing has a start time and an expiration time. If a user tries to purchase the NFT from the listing outside of the specified time window, the error
Marketplace-V3 Not within the sale window will be triggered.
To avoid this error, users should ensure they are interacting with a listing within the specified time window. They can check the start time and expiration time for listings using the get functions provided by the Marketplace V3 contract. These functions help fetch high-level states like "has an auction ended".
Can’t get this working? If you’ve followed the above and are still having issues, contact our support team for help.