I am not able to export by object to gltf, getting some pyhton error. I have used transparent bsdf is that causing any issue?
Which python error, can you show a screenshot?
Also, which blender version? And which settings are you using for export?
Materials usually don’t cause many troubles, and you generally want to recreate them anyway on the program you’re importing into.