Open soulhd opened 2 hours ago
Hi soulhd, thanks for taking the time to report this issue and helping improve the project!
Could I confirm that you’ve followed the documentation to provide the full phone number, including the country code, as shown in the example?
const chiwa = require('@akane_chiwa/getcontact-web-js');
(async () => {
try {
// You MUST provide the complete number along with the country code.
const phoneNumber = '+6285701203115';
const tags = await chiwa.getAllTags(phoneNumber);
console.log(tags);
} catch (error) {
console.error('Error fetching tags:', error);
}
})();
If you’ve already done this and are still experiencing the error, it could be due to our limit on GetContact searches being reached. Please let me know if this helps or if you’re seeing something different on your end. Thanks again for bringing this up!
I installed your module and succeeded running ypur example:
chiwa.authenticateWithToken(token)
andchiwa.getNumberTag(phoneNumber, countryCode)
, but when I ranchiwa.getAllTags(phoneNumber)
it returned:Please help.